package com.yaoandw.lucene;

import java.io.Serializable;

public class RecordResult implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String title;
	private String summary;
	private String link;
	private String time;
	private String txtFileLink;

	public RecordResult(String title, String content, String link, String time,String txtFileLink) {
		this.title = title;
		this.summary = content;
		this.link = link;
		this.time = time;
		this.txtFileLink = txtFileLink;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
	
	public String getTxtFileLink() {
		return txtFileLink;
	}

	public void setTxtFileLink(String txtFileLink) {
		this.txtFileLink = txtFileLink;
	}

	public String toString(){
		return "title:"+title+";\nsummary:"+summary+";\nlink:"+link+";\ntime:"+time+";\ntxtFileLink:"+txtFileLink;
	}
}
